-
Notifications
You must be signed in to change notification settings - Fork 64
Clarify CALL subquery ambiguities #1060
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
gem-neo4j
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good! Just a few comments :)
| ==== | ||
| This example, which finds the friends of each `Player` and xref:functions/aggregating.adoc#functions-count[counts] the number of friends per player, highlights the difference between using `CALL` and `OPTIONAL CALL`. | ||
| This example, which finds team that each `Player` plays for, highlights the difference between using `CALL` and `OPTIONAL CALL`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| This example, which finds team that each `Player` plays for, highlights the difference between using `CALL` and `OPTIONAL CALL`. | |
| This example, which finds the team that each `Player` plays for, highlights the difference between using `CALL` and `OPTIONAL CALL`. |
| |=== | ||
| Note that no results are returned for `Player D`, `Player E`, and `Player F`, since they have no outgoing `FRIEND_OF` relationships connected to them. | ||
| Note that no results are returned for `Player C`, since they have are not connected to any `Team` with a `PLAYS_FOR` relationship. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| Note that no results are returned for `Player C`, since they have are not connected to any `Team` with a `PLAYS_FOR` relationship. | |
| Note that no results are returned for `Player C`, since they are not connected to any `Team` with a `PLAYS_FOR` relationship. |
| The following example finds the name of each `Player` and the names of their friends. | ||
| No rows are returned for the `Player` nodes without any `FRIEND_OF` relationships, the number of results of the subquery thus changed the number of results of the enclosing query. | ||
| The following example finds the name of each `Player` and the teams they play for. | ||
| No rows are returned for `Player C`, since they have are not connected to a `Team` with a `PLAYS_FOR` relationship. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| No rows are returned for `Player C`, since they have are not connected to a `Team` with a `PLAYS_FOR` relationship. | |
| No rows are returned for `Player C`, since they are not connected to a `Team` with a `PLAYS_FOR` relationship. |
| | "Player A" | ||
| | "Player C" | ||
| | playerName | team |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| | playerName | team | |
| | player | team |
|
Thanks for the documentation updates. The preview documentation has now been torn down - reopening this PR will republish it. |
No description provided.